<ion-view title="新开服务请求">
    
<ion-content ng-controller="FwqqCtrl">       
<input type="hidden" name="department" ng-model='formData.department' value="{{department}}">
  	<input type="hidden" name="username" ng-model='formData.username' value="{{username}}">
	
<div class="list" style="box-shadow: 0px 5px 5px #888888;background-color: #f2f2f2;">
	<div class="row">
	  <div class="col col-50">事件单号：-- </div>
	  <div class="col col-50">状态：新建</div>
	</div>
	<div class="row">
	  <div class="col col-50">用户名：{{userinfo.username}}</div>
	  <div class="col col-50">部门：{{userinfo.department}}</div>
	</div>
	<div class="row">
	  <div class="col col-50">电话：{{userinfo.phone}}</div>
	  <div class="col col-50">邮件：{{userinfo.email}}</div>
	</div>
</div>
<div class="list" >
	
	<label class="item item-input item-select">
    <div class="input-label">
      严重级别
    </div>
    <select class="form-control" ng-model='formData.impact'>
	    				<option value="">--请选择--</option>
	    				
	    				<option value="PROBLEM_IMPACT_10">高</option>
	    				<option value="PROBLEM_IMPACT_20">中</option>
	    				<option value="PROBLEM_IMPACT_30">低</option>

	    			</select>
  </label>
  <label class="item item-input item-select">
    <div class="input-label">
      紧急程度
    </div>
    <select class="form-control" ng-model='formData.urgency'>
	    				<option value="">--请选择--</option>
	    				
	    				<option value="PROBLEM_URGENCY_10">高</option>
	    				<option value="PROBLEM_URGENCY_20">中</option>
	    				<option value="PROBLEM_URGENCY_30">低</option>
	    			</select>
  </label>
  <label class="item item-input item-select">
    <div class="input-label">
      优先级
    </div>
    <select class="form-control" ng-model='formData.priority'>
	    				<option value="">--请选择--</option>
	    				<option value="PROBLEM_PRIORITY_P1">P1</option>
	    				<option value="PROBLEM_PRIORITY_P2">P2</option>
	    				<option value="PROBLEM_PRIORITY_P3">P3</option>
	    				
	    			</select>
  </label>

  <div class="" ng-click="showActionsheet()">
        <a class="item  item-icon-right" href="javascript:void(0)">
          上传图片
          <i class="icon ion-ios-camera"></i>
        </a>
   </div>

	<div class="item" >  
		<img src="{{images_url}}" style="max-width:100%;">  
	</div> 
  
  <label class="item item-input">
                <input type="email" placeholder="标题" ng-model='formData.title'>
            </label>
            <label class="item item-input">
                <textarea rows="5" placeholder="描述" ng-model='formData.description'></textarea>
            </label>
			
</div>
<div class="padding">
	<button class="button button-block button-positive" ng-click="eventDispatch()">
                提交
            </button>
</div>
</ion-content>
</ion-view>